package hbase.crud.entity;

public class StudentInfo {
    private String studentId;
    private Integer classId;

    public StudentInfo() {
    }

    public StudentInfo(String id, int classId) {
        this.studentId = id;
        this.classId = classId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    @Override
    public String toString(){
        return "studentId="+studentId+",class="+classId;
    }
}
